StrictlyNegativeInt
@SinceKotoolsTypes(version = "1.1")
Represents strictly negative integers, excluding 0
.
Constructors
Link copied to clipboard
Returns the value as a strictly negative int, or throws an IllegalArgumentException if the value is positive.
Types
Functions
Link copied to clipboard
Divides this value by the other value, truncating the result to an integer that is closer to 0
. Throws an ArithmeticException if the other value equals 0
.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns this value as a negative int.
Link copied to clipboard
Returns this value as a non-zero int.
Link copied to clipboard
Returns the string representation of this value as a not blank string.
Link copied to clipboard
Returns the negative of this value.
Link copied to clipboard
Returns this value.